package com.qianfeng.smartdevices.mapper;

import com.qianfeng.smartdevices.pojo.Role;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface RoleMapper {

    List<Role> findRoleByUserId(Long uid);

    List<Role> findAllRole();

    void addRole(Role role);

    void updateRole(Role role);

    void deleteRole(@Param("ids") List<Long> id);
}
